package com.ck.validate.web;

import com.ck.validate.domain.Counter;
import com.ck.validate.domain.User;
import org.junit.Assert;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @PostMapping(value = "/save")
    public String getAccept(@RequestBody User user) {
        return "success";
    }





}
